﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApi.Core.IRepository.Base;
using WebApi.Core.Model;

namespace WebApi.Core.IRepository
{
    public interface IRefreshTokenRepository : IBaseRepository<RefreshToken>
    { 
        Task<int> CountActiveTokensAsync(string userId);
        Task RevokeAllTokensAsync(string userId);
    }
}
